package com.mes.cloud.api.dto.request.position;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.Set;

/**
 * 岗位上级岗位关联表
 * 
 * @author 郑样平
 * @version 2019-08-26 14:29:01
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class BindPositionSuperiorRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位ID", required = false)
    @NotEmpty(message = "岗位ID不能为空")
    private String positionId;

    @ApiModelProperty(value = "上级岗位Id数组", required = false)
    @NotEmpty(message = "上级岗位Id数组不能为空！")
     private Set<String> ids ;
}
